Xceed DataGrid for Silverlight Documentation
DataSourceChangedEventArgs Constructor(DataSourceChangedAction,IEnumerable<Object>,IEnumerable<Object>)


The DataSourceChangedAction that caused the data source to change.
The new items involved in the change
The list of items affected by the change
Initializes a new instance of the DataSourceChangedEventArgs class specifying the action that caused the data source to change as well as the new items involved in the change, and those affected by it. 
Syntax
'Declaration
 
Public Function New( _
   ByVal action As DataSourceChangedAction, _
   ByVal newItems As IEnumerable(Of Object), _
   ByVal oldItems As IEnumerable(Of Object) _
)
'Usage
 
Dim action As DataSourceChangedAction
Dim newItems As IEnumerable(Of Object)
Dim oldItems As IEnumerable(Of Object)
 
Dim instance As New DataSourceChangedEventArgs(action, newItems, oldItems)
public DataSourceChangedEventArgs( 
   DataSourceChangedAction action,
   IEnumerable<object> newItems,
   IEnumerable<object> oldItems
)

Parameters

action
The DataSourceChangedAction that caused the data source to change.
newItems
The new items involved in the change
oldItems
The list of items affected by the change
Exceptions
ExceptionDescription
System.ArgumentExceptionnewItems must be specified when the Add action is specified.
System.ArgumentExceptionoldItems must be specified when the Remove action is specified.
System.ArgumentExceptionnewItems must be specified when the Replace action is specified.
System.ArgumentExceptionoldItems must be specified when the Replace action is specified.
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataSourceChangedEventArgs Class
DataSourceChangedEventArgs Members
Overload List

Send Feedback